<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@taglib prefix="c" uri="/WEB-INF/tld/c-rt.tld"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<%   
	String path = request.getContextPath();   
	String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";   
%>
<base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>慢生活 - 程清骏个人博客网站</title>
<link href="css/base.css" rel="stylesheet">
<link href="css/style.css" rel="stylesheet">
<!-- 返回顶部调用 begin -->
<link href="css/lrtk.css" rel="stylesheet" />
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/js.js"></script>
<script src="js/i.js" type="text/javascript"></script>
<!-- 返回顶部调用 end-->
</head>
<body>
<jsp:include flush="true" page="/top.jsp" />
<article class="blogs">
<h1 class="t_nav"><span>“慢生活”不是懒惰，放慢速度不是拖延时间，而是让我们在生活中寻找到平衡。</span><a href="/" class="n1">网站首页</a><a href="main/manlife" class="n2">慢生活</a></h1>
<div class="newblog left">
 <c:forEach items="${list}" var="element" varStatus="status">
	 <h2><a title="${element.title}" href="main/context?id=${element.id}" >${element.title}</a></h2>
	   <p class="dateview"><span>${element.publishDate}</span><span>作者：${element.author}</span><span>[<a href="main/manlifeType?type=1">日记</a>]</span></p>
	    <figure><a title="${element.title}" href="main/context?id=${element.id}" >
	     <c:choose>
	     <c:when test="${element.inImageUrl!=null}">
	     <img src="${element.inImageUrl}" alt="${element.title}" >
	    </c:when>
	     </c:choose>
	    </a></figure>
	    <ul class="nlist">
	      <p>${element.keyContext}</p>
	      <a href="main/context?id=${element.id}" title="${element.title}" target="_blank" class="readmore">阅读全文>></a>
	    </ul>
	    <div class="line"></div>
	</c:forEach>
	<div class="line"></div>
    <div class="blank"></div>
    <div class="page">${content}</div>
</div>
<aside class="right">
   <div class="rnav">
      <ul>
<li class="rnav1"><a href="main/manlifeType?type=1">日记</a></li>
<li class="rnav2"><a href="main/manlifeType?type=2">欣赏</a></li>
<li class="rnav3"><a href="main/manlifeType?type=3">程序人生</a></li>
<li class="rnav4"><a href="main/manlifeType?type=4">经典语录</a></li>     </ul>      
    </div>
 <div class="rnavs">
      <ul>
<li class="rnav1"><a href="main/manlifeType?type=1">日记</a></li>
<li class="rnav2"><a href="main/manlifeType?type=2">欣赏</a></li>
<li class="rnav3"><a href="main/manlifeType?type=3">程序人生</a></li>
<li class="rnav4"><a href="main/manlifeType?type=4">经典语录</a></li>     </ul>      
    </div>
<div class="blank"></div>
<div class="news">
<h3>
      <p>最新<span>文章</span></p>
    </h3>
    <ul class="rank">
    <c:forEach items="${list}" var="element" varStatus="status">
	    <li><a href="main/context?id=${element.id}" title="${element.title}" target="_blank">${element.title}</a></li> 
	</c:forEach>
         </ul>
    </div>
<jsp:include flush="true" page="/bottom.jsp" />
</body>
</html>